package enums;

import utils.Utils;
/**
 * 
 * weapons types
 *
 */
public enum Weapon
{
	ROCK, PAPER, SCISSORS, FLAG, TRAP, NONE;
	
	@Override
	public String toString()
	{

		return Utils.beginWithCapital(name());
	}
	public static Weapon Convert( int i ) {
		return values()[i];
	}
	public static Weapon getWeaponfromString (String str) {
		return valueOf(str.toUpperCase());
	}
}
